package com.xiaotu.service.mysql8;

import com.xiaotu.dao.mysql8.Mysql8SwIndexMapper;
import com.xiaotu.entity.SyncHotSwIndexModel;
import com.xiaotu.entity.SyncSwIndexModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhangxiao
 * @create 2021-11-01 14:22
 */
@Service
public class Mysql8SwIndexService {

    @Autowired
    private Mysql8SwIndexMapper mysql8SwIndexMapper;

    public List<SyncHotSwIndexModel> getHotSwIndex() {
        return mysql8SwIndexMapper.getHotSwIndex();
    }

    public List<SyncSwIndexModel> getSwIndex() {
        return mysql8SwIndexMapper.getSwIndex();
    }
}
